var userAction = function () {
    mui(".page").on('tap', '.add-passenger', function () {
        window.location.href = 'write_passenger.html';
    })
    mui(".aside").on('tap', '.btn1', function () {
        window.location.href = 'ticket_order.html';
    })
    $(".passenger-info").on('tap', '.passenger-sel', function () {
        if($('.input2').length<5){
            $(this).find('.passenger-info-input').toggleClass('input2');
        }else{
            mui.toast('最多选五个');
        }
    })
    $(".passenger-info").on('tap', '.passenger-write', function () {
        window.location.href = 'write_passenger.html';
    })
}
var init = function () {
    userAction();
}
init();